<?php

function event_add()
{
    $event = $_REQUEST['event'];
    db_event_add($event);
}

function event_update()
{
    $event = $_REQUEST['event'];
    db_event_update($event);
}

function event_delete()
{
    $event_id = $_REQUEST['event_id'];
    db_event_delete($event_id);
}

function event_list()
{
    generate_disaster_table();
}

function get_event_add_area()
{
    event_edit_view(true);
}

function get_event_edit_area()
{
    event_edit_view(false);
}

?>
